import { post } from '@/api/request'

export const login = (data: { username: string; password: string }) => {
  return post('/api/v1/users/login', data)
}
